//
//  BaseViewController.m
//  DouBan
//
//  Created by lanou3g on 15/11/4.
//  Copyright (c) 2015年 haiTeng. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self Ht_setHUD];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)Ht_setHUD{
    self.HUD = [[MBProgressHUD alloc] initWithView:self.view]; //创建HUD
    [self.view addSubview:self.HUD];            //添加到self.View上
    [self.HUD show:YES];           //让它显示出来 （小菊花）
    
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
